//
//  LandmarksApp.swift
//  Landmarks
//
//  Created by yafei li on 2024/6/17.
//

import SwiftUI

@main
struct LandmarksApp: App {
    
    @State private var modelData = ModelData()
    
    var body: some Scene {
        WindowGroup {
            ContentView()
                .environment(modelData)
        }
        #if !os(watchOS)
        .commands {
           LandmarkCommands()
        }
        #endif
       
       #if os(macOS)
       Settings {
           LandmarkSettings()
       }
       #endif
    }
}
